home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10274 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  518 b 

  1. Path: news.cuny.edu!not-for-mail
  2. From: dzielins@its.brooklyn.cuny.edu (Daniel Zielinski)
  3. Newsgroups: comp.lang.c
  4. Subject: rand ?
  5. Date: 16 Mar 1996 00:34:28 -0500
  6. Organization: Brooklyn College
  7. Message-ID: <4idjt4$4du@itsop2.its.brooklyn.cuny.edu>
  8. NNTP-Posting-Host: itsop2.its.brooklyn.cuny.edu
  9.  
  10. I need to generate random numbers between 0 and 51, I tried rand() with srand(i)
  11. i changes constantly but the program never exits. looks like the random number
  12. is always the same.  any help would be apriciated... thanss
  13.  
  14.